﻿<%@ Register TagPrefix="uc1" TagName="DanhMucConsWUC" Src="DanhMucConsWUC.ascx" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChiTietDanhMucChinh.aspx.cs" Inherits="WebRaoVat.ChiTietDanhMucChinh" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <!--Begin khung thu 1 cua cot trai-->
         <div id="box-pro-highlights">
		<div class="content">
	         <img src="images_quang_cao/imageAdvertising.gif" alt=""/>
		</div>
		</div>
        <!--End khung thu 1 cua cot trai-->
         <%for (int index = 0; index < danhMucCon.Count; index++)//danhMucCon.Count
           {
               %>
            <!--Begin khung thu 2 cua cot trai-->
            <div id="box-pro-highlights">
		    <div class="box-pro-highlights-header">
		        <a href="ChiTietDanhMucChinh.aspx?danhmucchinh=<% =maDanhMucChinh %>" style="color:#034b8a" class="no-hover">
		        <% =tenDanhMucChinh %></a>
		        <a style="color:#034b8a"> > </a>
			    <a href="ChiTietDanhMucCon.aspx?danhmuccon=<%=danhMucCon[index].MaDanhMucCon%>" style="color:#034b8a"  class="no-hover"><%=danhMucCon[index].TenDanhMucCon%></a>
		    </div>
		    <div class="content">
		    <%
               if (index == 0)
               {%>
			    <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(0) %>" runat="server" />
               <%}
               else if (index == 1)
               {
                   %> 
		        <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(1) %>" runat="server" />
                   <%
                   }
               else if(index == 2)
               {
                   %>
			    <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(2) %>" runat="server" />
		           <%
               }
               else if(index == 3)
               {
                   %>
			    <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(3) %>" runat="server" />
		           <%
               }
               else if(index == 4)
               {
                   %>
                <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(4) %>" runat="server" />
		           <%
               }else if(index == 5)
               {
                   %>
                <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(5) %>" runat="server" />
		           <%
               }
               else if(index == 6)
               {
                   %>
                <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(6) %>" runat="server" />
		           <%
               }
               else if(index == 7)
               {
                   %>
                <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(7) %>" runat="server" />
		           <%
               }
               else if(index == 8)
               {
                   %>
                <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(8) %>" runat="server" />
		           <%
               }
               else if(index == 9)
               {
                   %>
                <uc1:DanhMucConsWUC DataListSource="<%# sqlDataSourceDMC(9) %>" runat="server" />
                   <%
               }
        %>
            </div>
		    </div> 
		<% 
           } %>
		<!--End khung thu 2 cua cot trai-->
		
</asp:Content>
